# Template file for 'pass-otp'
pkgname=pass-otp
version=1.2.0
revision=2
build_style=gnu-makefile
depends="pass oath-toolkit qrencode"
short_desc="Pass extension for managing one-time-password (OTP) tokens"
maintainer="Alif Rachmawadi <arch@subosito.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/tadfisher/pass-otp"
distfiles="https://github.com/tadfisher/pass-otp/archive/v${version}.tar.gz"
checksum=5720a649267a240a4f7ba5a6445193481070049c1d08ba38b00d20fc551c3a67

post_install() {
	vmkdir usr/share/bash-completion/completions
	mv ${DESTDIR}/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions
}
