# Template file for 'vegeta'
pkgname=vegeta
version=12.2.1
revision=1
wrksrc=${pkgname}-cli-v${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/cli/v$version.tar.gz"
checksum=5a7376de64a022d5748b43e3873ee5b7bcffa3596e2df00bff9866bb039720d7

pre_build() {
	cd $GOSRCPATH
	dep ensure
}

post_install() {
	vlicense LICENSE
}
