# Template file for 'inadyn'
pkgname=inadyn
version=2.10.0
revision=1
build_style=gnu-configure
configure_args="--enable-openssl"
hostmakedepends="automake libtool pkg-config"
makedepends="confuse-devel openssl-devel"
short_desc="Small DynDNS client with SSL/TLS support"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://troglobit.com/inadyn.html"
changelog="https://github.com/troglobit/inadyn/raw/master/ChangeLog.md"
distfiles="https://github.com/troglobit/inadyn/releases/download/v${version}/inadyn-${version}.tar.xz"
checksum=58ca61afdc0554b63b3eba1265caa1049c783d0ccfdbabc98273266466d8f142

system_accounts="inadyn"
inadyn_homedir="/var/empty"

conf_files="/etc/inadyn.conf"

pre_configure() {
	autoreconf -fi
}

post_install() {
	vconf ${FILESDIR}/inadyn.conf
	vsv inadyn
}
