# Template file for 'todoman'
pkgname=todoman
version=4.4.0
revision=2
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-icalendar python3-urwid python3-xdg python3-parsedatetime
 python3-atomicwrites python3-click-repl python3-click-log
 python3-dateutil python3-humanize jq"
checkdepends="${depends} python3-freezegun python3-hypothesis
 python3-pytest-cov python3-pytest-xdist"
short_desc="Simple, standards-based, cli todo (aka: task) manager"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://github.com/pimutils/todoman"
changelog="https://raw.githubusercontent.com/pimutils/todoman/main/CHANGELOG.rst"
distfiles="${PYPI_SITE}/t/todoman/todoman-${version}.tar.gz"
checksum=0b7beeb8c73bfa299147288d9b657bc4e0e288febb84e198ef72cb1412af9db6

post_install() {
	vlicense LICENCE
	vcompletion contrib/completion/zsh/_todo zsh todo
	vcompletion contrib/completion/bash/_todo bash todo
	vsconf config.py.sample config.py
}
