# Template file for 'vpnc'
pkgname=vpnc
version=0.5.3
revision=3
hostmakedepends="perl"
makedepends="libgcrypt-devel"
depends="net-tools"
short_desc="Client for cisco vpn concentrator"
maintainer="Enno Boland <eb@s01.de>"
license="GPL-2"
homepage="https://www.unix-ag.uni-kl.de/~massar/vpnc/"
distfiles="https://www.unix-ag.uni-kl.de/~massar/vpnc/vpnc-$version.tar.gz"
checksum=46cea3bd02f207c62c7c6f2f22133382602baeda1dc320747809e94881414884

conf_files="
 /etc/vpnc/default.conf
 /etc/vpnc/vpnc-script"

do_build() {
	make CC=$CC ${makejobs}
}
do_install() {
	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install
}
