# Template file for 'wpa_gui'
pkgname=wpa_gui
version=2.11
revision=1
build_wrksrc="wpa_supplicant/wpa_gui-qt4"
build_style=qmake
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="qt5-devel"
depends="wpa_supplicant desktop-file-utils"
short_desc="WPA/WPA2/IEEE 802.1X Supplicant -- Graphical User Interface"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-3-Clause"
homepage="https://w1.fi/wpa_supplicant/"
distfiles="https://w1.fi/releases/wpa_supplicant-${version}.tar.gz"
checksum=912ea06f74e30a8e36fbb68064d6cdff218d8d591db0fc5d75dee6c81ac7fc0a

do_install() {
	vbin wpa_gui
	vman ../doc/docbook/wpa_gui.8
	vlicense ../../README
	vinstall wpa_gui.desktop 644 usr/share/applications
	vinstall icons/wpa_gui.svg 644 usr/share/pixmaps
}
