# Template file for 't-prot'
pkgname=t-prot
version=3.4
revision=2
maintainer="Orphaned <orphan@voidlinux.eu>"
license="BSD"
depends="perl-Getopt-Long?perl perl-Locale-gettext"
noarch=yes
homepage="http://www.escape.de/~tolot/mutt/"
short_desc="TOFU protection - display filter for RFC822 messages"
distfiles="http://www.escape.de/~tolot/mutt/t-prot/downloads/${pkgname}-${version}.tar.gz"
checksum=39b7a5f0fefdea87885f3b6ab041e7148c600fb50017c3a283231f6dde5eca2b

do_install() {
	vbin t-prot
	vman t-prot.1
	for i in ChangeLog README TODO; do
		vdoc $i
	done
	vmkdir usr/share/doc/${pkgname}/contrib
	for i in contrib/{mailcap.t-prot,muttrc.t-prot,nailrc.t-prot,t-prot.sl}; do
		vinstall $i 644 usr/share/doc/${pkgname}/contrib
	done
}

