{% set version = "0.2.3" %}

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

build:
  number: 0
  run_exports:
    - {{ pin_subpackage('ksw', max_pin="x") }}

source:
  url: https://github.com/nh13/ksw/releases/download/{{ version }}/{{ version }}.tar.gz
  sha256: 77c5f670e7cd1c608679fea077543d47771f48bef8b18773b9ba6ca0032815c0

requirements:
  build:
    - make
    - cmake
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - zlib
    - coreutils
  run:
    - zlib

test:
  commands:
    - ksw -h 2>&1 | grep Version | grep -qF '{{ version }}'

about:
  home: https://github.com/nh13/ksw
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: 'Ksw: (interactive) smith-waterman in C'

extra:
  identifiers:
    - biotools:ksw
