# Template file for 'khard'
pkgname=khard
version=0.17.0
revision=3
build_style=python3-module
hostmakedepends="python3-setuptools_scm"
depends="python3-setuptools python3-atomicwrites python3-configobj
 python3-vobject python3-Unidecode python3-ruamel.yaml"
short_desc="Command-line addressbook built around CardDAV"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="GPL-3.0-only"
homepage="https://github.com/scheibler/khard"
distfiles="${PYPI_SITE}/k/khard/khard-${version}.tar.gz"
checksum=164e1aee9264735ec0473a74a38842e6272bbb814d949a66084c6a373bd95618

post_install() {
	vsconf doc/source/examples/khard.conf.example
	vsconf khard/data/template.yaml
	vinstall misc/zsh/_khard 644 usr/share/zsh/site-functions
	vinstall misc/zsh/_email-khard 644 usr/share/zsh/site-functions
}
