{% set version = "1.1.0" %}
{% set name = "kanpig" %}

package:
  name: {{ name }}
  version: {{ version }}

source:
  url: https://github.com/ACEnglish/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz
  sha256: 3c2c807f6c4d65f46dcc5ac459ade78fe5d8805de80054556c37c80867bb8b5c

build:
  number: 1
  run_exports:
    - {{ pin_subpackage("kanpig", max_pin="x") }}

requirements:
  build:
    - {{ compiler("cxx") }}
    - make
    - {{ compiler("rust") }}
    - cargo-bundle-licenses

test:
  commands:
    - kanpig --help

about:
  home: https://github.com/ACEnglish/kanpig
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: "A fast tool for genotyping structural variants with long-reads."
  dev_url: https://github.com/ACEnglish/kanpig
  doc_url: https://github.com/ACEnglish/kanpig/wiki

extra:
  additional-platforms:
    - linux-aarch64
    - osx-arm64
  recipe-maintainers:
    - ldenti
