# Template file for 'openfortivpn'
pkgname=openfortivpn
version=1.17.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=c674c59cf3201a55d56cb503053982752fb641b13a85ea406b8a7e7df301e30f

conf_files="/etc/openfortivpn/config"

pre_configure() {
	autoreconf -fi
}
