# Template file for 'taskd'
pkgname=taskd
version=1.1.0
revision=1
build_style=cmake
hostmakedepends="cmake"
makedepends="libuuid-devel gnutls-devel"
depends="gnutls-tools"
short_desc="Server for sharing tasks among different clients, primarily Taskwarrior"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="MIT"
homepage="http://taskwarrior.org"
distfiles="http://taskwarrior.org/download/${pkgname}-${version}.tar.gz"
checksum=7b8488e687971ae56729ff4e2e5209ff8806cf8cd57718bfd7e521be130621b4

system_accounts="taskd"
taskd_homedir="/var/lib/taskd"
make_dirs="/var/lib/taskd 0750 taskd taskd"

post_install () {
	vcopy pki usr/share/taskd/
	vlicense LICENSE
	vsv taskd
}

