# Template file for 'openfortivpn'
pkgname=openfortivpn
version=1.19.0
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=9e244c3b63176269ce433349e67f8fd6e532f7c8d515f4c97558911a449152c3

conf_files="/etc/openfortivpn/config"

pre_configure() {
	autoreconf -fi
}
