#Packager: Christian Dersch <chrisdersch@googlemail.com> 

pkgname=vpnc
pkgver=0.5.3
pkgrel=2cd
source=("http://www.unix-ag.uni-kl.de/~massar/vpnc/vpnc-$pkgver.tar.gz")
url=http://www.unix-ag.uni-kl.de/~massar/vpnc/
options=('noautodotnew')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"vpnc (free VPN client)"
"vpnc is a free Cisco compatible VPN client. It works with Cisco VPN"
"concentrator 3000 Series, IOS routers, PIX/ASA Zecurity Appliances and"
"Juniper/Netscreen. "
"Supported Authentications: Pre-Shared-Key + XAUTH, Pre-Shared-Key;"
"Supported IKE DH-Groups: dh1 dh2 dh5; Supported Hash Algo: md5 sha1;"
"Supported Encryptions: (null) (1des) 3des aes128 aes192 aes256;"
"Perfect Forward Secrecy: nopfs dh1 dh2 dh5"
"NOTE: Hybrid Authentication is due to a patent NOT supported"
"Homepage: http://www.unix-ag.uni-kl.de/~massar/vpnc/"
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	make || return 1
	make install DESTDIR=$startdir/pkg \
		PREFIX=/usr \
		MANDIR=/usr/man \
		DOCDIR=/usr/doc/$pkgname-$pkgver
}