# Template file for 'bettercap'
pkgname=bettercap
version=2.10
revision=1
build_style=go
hostmakedepends="git pkg-config"
makedepends="libpcap-devel libnetfilter_queue-devel"
short_desc="Network attack and monitoring framework"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-3"
go_import_path=github.com/bettercap/bettercap
homepage="https://${go_import_path}"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=47b85e806f7ccf07a0b4a0d28226d7e568fbde2b68b1def7be17d113be8ec34e

case "$XBPS_TARGET_MACHINE" in
	x86_64-musl) broken="fails to build" ;;
esac
