# Template file for 'iwd'
pkgname=iwd
version=0.9
revision=1
build_style=gnu-configure
configure_args="--disable-systemd-service --enable-docs --enable-pie"
hostmakedepends="asciidoc pkg-config"
makedepends="readline-devel dbus-devel ell-devel"
depends="dbus"
checkdepends="python3"
short_desc="Internet Wireless Daemon by Intel that aims to replace wpa_supplicant"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://iwd.wiki.kernel.org/"
distfiles="${KERNEL_SITE}/network/wireless/iwd-${version}.tar.xz"
checksum=fa3b279fbc491a00f9e421a6ca83d371114b5bef419af30241017ef67f096734
make_dirs="/var/lib/iwd 0600 root root
 /etc/iwd 755 root root"

post_install() {
	vsconf doc/main.conf
	vsv iwd
}
