# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=sddm-tablet
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.2
pkgrel=1
pkgdesc="tablet friendly sddm configuration"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')

depends=()
depends+=('qt5-virtualkeyboard')
depends+=('de-p1st-sddm-theme-onscreenkeyboard-support')  # Not all themes support QT virtual keyboard. See: https://github.com/sddm/sddm/issues/952

makedepends=('git')
source=("git+${url}.git")
sha256sums=('SKIP')

package() {
  cd "${_reponame}/pkg/${pkgname}"

  install -Dm0644 p1st-onscreen-keyboard.conf "$pkgdir"/etc/sddm.conf.d/p1st-onscreen-keyboard.conf
}
