# Template file for 'khard'
pkgname=khard
version=0.18.0
revision=2
build_style=python3-module
# fails in CI
make_check_args="--deselect test/test_command_line_interface.py::MiscCommands"
hostmakedepends="python3-setuptools_scm"
depends="python3-atomicwrites python3-configobj
 python3-vobject python3-Unidecode python3-ruamel.yaml"
checkdepends="${depends} python3-pytest"
short_desc="Command-line addressbook built around CardDAV"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-only"
homepage="https://khard.readthedocs.io/en/latest/"
changelog="https://raw.githubusercontent.com/lucc/khard/develop/CHANGES"
distfiles="${PYPI_SITE}/k/khard/khard-${version}.tar.gz"
checksum=fe88d4b47fdd948610ac573c01fa13d1b7996265cbc44391085761af9a030615

post_install() {
	vsconf doc/source/examples/khard.conf.example
	vsconf khard/data/template.yaml
	vcompletion misc/zsh/_khard zsh
	vcompletion misc/zsh/_email-khard zsh email-khard
}
