# Template file for 'inadyn'
pkgname=inadyn
version=2.2
revision=2
build_style=gnu-configure
configure_args="--enable-openssl"
hostmakedepends="automake libtool pkg-config"
makedepends="confuse-devel libressl-devel"
short_desc="Small DynDNS client with SSL/TLS support"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-2"
homepage="http://troglobit.com/inadyn.html"
distfiles="https://github.com/troglobit/inadyn/releases/download/v${version}/inadyn-${version}.tar.xz"
checksum=27aed84a3d04591540b01ef91a5af4b02cbd0e0c20db36a2660453780bd645f6

system_accounts="inadyn"
inadyn_homedir="/run/inadyn"

conf_files="/etc/inadyn.conf"

pre_configure() {
	autoreconf -fi
}

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