# Template file for 'hashcat-utils'
pkgname=hashcat-utils
version=1.9
revision=1
build_wrksrc=src
build_style=gnu-makefile
depends="perl"
short_desc="Small utilities that are useful in advanced password cracking"
maintainer="Samantha Baldwin <fuhsaz+git@cryptic.li>"
license="MIT"
homepage="https://github.com/hashcat/hashcat-utils/"
changelog="https://raw.githubusercontent.com/hashcat/hashcat-utils/master/CHANGES"
distfiles="https://github.com/hashcat/hashcat-utils/archive/v${version}.tar.gz"
checksum=9ddda7f9dfeebfde95b2e980241730262a7f512ceb37941c38b590721d6b6921

do_install() {
	for bin in ${wrksrc}/${build_wrksrc}/*.bin; do
		vbin $bin $(basename $bin .bin)
	done
	for script in ${wrksrc}/${build_wrksrc}/*.pl; do
		vbin $script $(basename $script .pl)
	done
	vlicense ${wrksrc}/LICENSE
}