pkgname = "xpr"
pkgver = "1.1.0"
pkgrel = 0
build_style = "gnu_configure"
hostmakedepends = ["pkgconf"]
makedepends = ["libx11-devel", "libxmu-devel"]
pkgdesc = "Print an X window dump"
maintainer = "q66 <q66@chimera-linux.org>"
license = "MIT"
url = "https://xorg.freedesktop.org"
source = f"$(XORG_SITE)/app/{pkgname}-{pkgver}.tar.gz"
sha256 = "fabd02fb1a52358d521f1be7422738bc8c9b511a8d82a163888f628db6f6cb18"
hardening = ["vis", "cfi"]

def post_install(self):
    self.install_license("COPYING")
