# Description: An SSL VPN client.
# URL:         http://infradead.org/openconnect
# Packager:    milisarge
# Depends on:  libxml2 openssl pkg-config vpnc zlib

name=openconnect
version=7.06
release=1
source=(ftp://ftp.infradead.org/pub/$name/$name-$version.tar.gz)

build() {
	cd $name-$version

	./configure --prefix=/usr \
				--bindir=/usr/bin \
				--mandir=/usr/share/man \
				--disable-static

	make
	make DESTDIR=$PKG install
}