# Template file for 'pass'
pkgname=pass
version=1.7.1
revision=1
wrksrc="password-store-${version}"
noarch=yes
build_style=gnu-makefile
make_install_args="FORCE_BASHCOMP=1 FORCE_ZSHCOMP=1"
depends="bash gnupg2 pwgen tree xclip"
short_desc="Stores, retrieves, generates, and synchronizes passwords securely"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="GPL-2"
homepage="http://www.passwordstore.org/"
distfiles="http://git.zx2c4.com/password-store/snapshot/password-store-${version}.tar.xz"
checksum=f6d2199593398aaefeaa55e21daddfb7f1073e9e096af6d887126141e99d9869

passmenu_package() {
	short_desc="A dmenu-based interface to pass"
	depends="dmenu xdotool ${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vbin contrib/dmenu/passmenu
	}
}
