# Template file for 'badvpn'
pkgname=badvpn
version=1.999.130
revision=15
build_style=cmake
hostmakedepends="pkg-config"
makedepends="openssl-devel nspr-devel nss-devel"
short_desc="Peer-to-peer VPN system"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/ambrop72/badvpn"
changelog="https://raw.githubusercontent.com/ambrop72/badvpn/master/ChangeLog"
distfiles="https://github.com/ambrop72/$pkgname/archive/${version}.tar.gz"
checksum=bfd4bbfebd7274bcec792558c9a2fd60e39cd92e04673825ade5d04154766109
case "$XBPS_TARGET_MACHINE" in
	*-musl) configure_args="-DBUILD_NCD=0" ;;
esac

post_install() {
	vlicense COPYING
}
