# Template file for 'tinc'
pkgname=tinc
version=1.0.19
revision=1
build_style=gnu-configure
short_desc="VPN (Virtual Private Network) daemon"
maintainer="pancake <pancake@nopcode.org>"
license="GPL-2"
homepage="http://www.tinc-vpn.org"
distfiles="${homepage}/packages/${pkgname}-${version}.tar.gz"
checksum=509ebb063399d436e9df0a6ccb03ca1c1190a948662ddeef60bb803684ec76a0
makedepends="lzo-devel openssl-devel"

post_install() {
	vinstall ${FILESDIR}/tincd@.service 644 usr/lib/systemd/system
}

tinc_package() {
	pkg_install() {
		vmove usr
	}
}
