# Template file for 'gopass'
pkgname=gopass
version=1.14.6
revision=2
build_style=go
build_helper=qemu
go_import_path=github.com/gopasspw/gopass
go_package="${go_import_path} ${go_import_path}/cmd/..."
makedepends="gnupg"
depends="gnupg>=2 git age"
short_desc="Slightly more awesome standard unix password manager for teams"
maintainer="Felipe Nogueira <contato.fnog@gmail.com>"
license="MIT"
homepage="https://www.gopass.pw/"
changelog="https://raw.githubusercontent.com/gopasspw/gopass/master/CHANGELOG.md"
distfiles="https://github.com/gopasspw/gopass/archive/v${version}.tar.gz"
checksum=80d0a738ad1a4943e7e98a2db7d11e2b9abb890af8986307e1f0e40cbbf0b00d

post_install() {
	vlicense LICENSE
	vman gopass.1

	for shell in bash fish zsh; do
		vcompletion $shell.completion $shell
	done
}
