# Maintainer: Alexey Pavlov <alexpux@gmail.com>

_realname=wintab-sdk
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.4
pkgrel=3
pkgdesc="Wintab Interface Specification (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://developer.wacom.com"
license=("custom")
source=('pktdef.h' 'wintab.h')
sha256sums=('29c76a15b8f5d47f4154a6a0fc3dffd286c3d957d40bcfc0bc4ef3cba2ad8169'
            'fe089e2fb8257f3fc902d84867a293f6f716b5c8a9b5cadcf9484b3ec07809d1')

package() {
  mkdir -p "${pkgdir}"${MINGW_PREFIX}/include
  install -Dm644 "${srcdir}"/pktdef.h "${pkgdir}"${MINGW_PREFIX}/include
  install -Dm644 "${srcdir}"/wintab.h "${pkgdir}"${MINGW_PREFIX}/include
}
