# Template file for 'FeatherPad'
pkgname=FeatherPad
version=0.11.1
revision=1
build_style=qmake
hostmakedepends="qt5-qmake qt5-tools-devel"
makedepends="libX11-devel libXext-devel qt5-x11extras-devel qt5-svg-devel hunspell-devel"
short_desc="Lightweight Qt5 plain-text editor for Linux"
maintainer="Young Jin Park <youngjinpark20@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/tsujan/FeatherPad"
distfiles="https://github.com/tsujan/FeatherPad/archive/V${version}.tar.gz"
checksum=a9cb943587bb0065c7cd7e42b5b396d633d4bab6c531621b4f85b050e0ccd9db

if [ "$CROSS_BUILD" ]; then
	hostmakedepends+=" qt5-x11extras-devel qt5-svg-devel"
fi

post_install() {
	vlicense COPYING
}
