distributable:
  url: https://github.com/Yubico/yubikey-manager/archive/refs/tags/{{ version }}.tar.gz
  strip-components: 1

display-name: yubikey-manager

versions:
  github: Yubico/yubikey-manager

dependencies:
  python.org: ~3.11
  linux:
    pcsclite.apdu.fr: '^2'

build:
  dependencies:
    pip.pypa.io: '*'
    swig.org: '*'
  script: python-venv.sh {{prefix}}/bin/ykman

provides:
  - bin/ykman

test: ykman --version | grep {{version}}
