# Template file for 'input-remapper'
pkgname=input-remapper
version=2.2.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools gettext"
depends="dbus python3-evdev python3-gobject python3-psutil python3-dasbus python3-pydantic python3-packaging python3-cairo"
short_desc="GUI Tool to change the behaviour of your input devices"
maintainer="Soulful Sailer <soulful.sailer@entropic.pro>"
license="GPL-3.0-or-later"
homepage="https://github.com/sezanzeb/input-remapper"
distfiles="https://github.com/sezanzeb/input-remapper/archive/refs/tags/${version}.tar.gz"
checksum=6ad3d58829e29f2943cbc874b910a94e699428547240f3e5b2a4acbd34e62d2f

post_install() {
	# copies data files (bin, desktop, icons, ect) to their install location
	python3 -m install --root ${DESTDIR} --components data_files
	vsv input-remapper
}
