# Template file for 'tpm'
pkgname=tpm
version=1.2
revision=1
noarch=yes
build_style=gnu-makefile
hostmakedepends="perl"
depends="bash gnupg2"
short_desc="A tiny password manager"
maintainer="Sören Tempel <soeren+void@soeren-tempel.net>"
license="GPL-3"
homepage="https://github.com/nmeum/${pkgname}"
distfiles="https://github.com/nmeum/${pkgname}/archive/${version}.tar.gz"
checksum=348e172a7340535f2d507cd23350d5c635d489f942424e871169375ffe416e59

post_install() {
	vinstall zsh_completion 644 usr/share/zsh/site-functions _${pkgname}
	vinstall bash_completion 644 usr/share/bash-completion/completions ${pkgname}
}
