# Template file for 'bluez-alsa'
pkgname=bluez-alsa
version=1.3.0
revision=1
build_style=gnu-configure
configure_args="--enable--aac --disable-hcitop --enable-debug"
hostmakedepends="pkg-config automake libtool"
makedepends="alsa-lib-devel fdk-aac-devel libbluetooth-devel libglib-devel
 ortp-devel sbc-devel"
short_desc="Bluetooth Audio ALSA Backend"
maintainer="Toyam Cox <Vaelatern@Voidlinux.eu>"
license="MIT"
homepage="https://github.com/Arkq/bluez-alsa"
distfiles="https://github.com/Arkq/bluez-alsa/archive/v${version}.tar.gz"
checksum=20005c4a153346ea7941973e9b7bd0b228417351f2e8ce88d1c02cc62bca188e
system_accounts="_bluez_alsa"

pre_configure() {
	autoreconf -fi
}

post_install() {
	vlicense LICENSE.txt
	vsv bluez-alsa
}
