# Template file for 'flrig'
pkgname=flrig
version=1.4.7
revision=1
build_style=gnu-configure
makedepends="fltk-devel"
depends="fltk"
short_desc="Rig control program, compatible with fldigi"
maintainer="Antonio Gurgel <antonio@goorzhel.com>"
license="GPL-3.0-or-later"
homepage="http://www.w1hkj.com/"
changelog="https://sourceforge.net/p/fldigi/flrig/ci/master/tree/ChangeLog?format=raw"
distfiles="http://www.w1hkj.com/files/flrig/${pkgname}-${version}.tar.gz"
checksum=473c9e25fdd3d6f29397253f10c5c563e39b92a2aaef0272041f1978a30e3b53

case "$XBPS_TARGET_MACHINE" in
	*-musl) makedepends+=" musl-legacy-compat" ;;
esac

post_install() {
	vinstall data/flrig.desktop 644 usr/share/applications
}
