# Template file for 'openfortivpn'
pkgname=openfortivpn
version=1.23.1
revision=1
build_style=gnu-configure
configure_args="
 --enable-proc
 --disable-resolvconf
 --with-ppp=/usr/bin/ppp
 --with-pppd=/usr/bin/pppd
 --with-resolvconf=/usr/bin/resolvconf
 --with-rt_dst"
hostmakedepends="autoconf automake pkg-config"
makedepends="openssl-devel"
short_desc="Client for PPP+SSL VPN tunnel services"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/adrienverge/openfortivpn"
changelog="https://github.com/adrienverge/openfortivpn/raw/master/CHANGELOG.md"
distfiles="https://github.com/adrienverge/openfortivpn/archive/v${version}.tar.gz"
checksum=ecacfc7f18d87f4ff503198177e51a83316b59b4646f31caa8140fdbfaa40389

conf_files="/etc/openfortivpn/config"

pre_configure() {
	autoreconf -fi
}
