# Template file for 'todoman'
pkgname=todoman
version=4.7.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-icalendar python3-urwid python3-xdg python3-parsedatetime
 python3-click python3-click-repl python3-click-log python3-dateutil
 python3-humanize jq"
checkdepends="${depends} python3-freezegun python3-hypothesis
 python3-pytest-cov python3-pytest-xdist python3-pytz"
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=59f26db40eaa049c48a06b052dbfb5db86fb493eef6f65cd61fefc12c12b389d

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