require 'buildsystems/pip'

class Py3_libevdev < Pip
  description 'Libevdev is a Python wrapper around the libevdev C library.'
  homepage 'https://python-libevdev.readthedocs.io/'
  version "0.11-#{CREW_PY_VER}"
  license 'MIT'
  compatibility 'all'
  source_url 'SKIP'
  binary_compression 'tar.zst'

  binary_sha256({
    aarch64: 'ba2b93033f7487dd92f00be5347b0c1587193b3d0813c3c2531e1242e749fe91',
     armv7l: 'ba2b93033f7487dd92f00be5347b0c1587193b3d0813c3c2531e1242e749fe91',
       i686: 'a78ef7b0b31ea5e3e7e07f5ef838a46944153f5526ff5c4b3af3c8e9842f2bfa',
     x86_64: '86003b84b32cd44b9d1360a61aed209d8fe2995579095e9a58b22d48731fa0e5'
  })

  depends_on 'python3' => :build

  no_source_build
end
