# Template file for 'vegeta'
pkgname=vegeta
version=12.7.0
revision=1
wrksrc=${pkgname}-${version}
build_style=go
go_import_path=github.com/tsenart/$pkgname
hostmakedepends="dep"
short_desc="HTTP load testing tool"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="MIT"
homepage="https://github.com/tsenart/vegeta"
distfiles="https://$go_import_path/archive/v$version.tar.gz"
checksum=0e6882d2044e8dc1979f4cd2d96ccbfc47db8ac575f66ebf1020f98d702988a9

pre_build() {
	cd $GOSRCPATH
	dep ensure
}

post_install() {
	vlicense LICENSE
}
