# Template file for 'batctl'
pkgname=batctl
version=2026.1
revision=1
build_style=gnu-makefile
make_use_env=yes
make_build_args="V=1"
make_install_args="SBINDIR=/usr/bin"
hostmakedepends="pkg-config"
makedepends="libnl3-devel"
short_desc="B.A.T.M.A.N. advanced management tool"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later, MIT"
homepage="https://www.open-mesh.org/"
changelog="https://raw.githubusercontent.com/open-mesh-mirror/batctl/refs/heads/main/CHANGELOG.rst"
distfiles="http://downloads.open-mesh.net/batman/releases/batman-adv-${version}/batctl-${version}.tar.gz"
checksum=84441686c1d44ed57a560f2a0be9f86eb92c310f22aaa4a00933eb6c8936087a

post_install() {
	vlicense LICENSES/preferred/MIT
}
