{% set name = "samtools" %}

package:
  name: samtools
  version: 0.1.18

source:
  sha256: de0f5b79c50d9dc4722b673e87165dc75a71bacd86b6bb8c39199cfc143f2a66
  url: https://github.com/samtools/samtools/archive/0.1.18.tar.gz

build:
  number: 14
  run_exports:
    - {{ pin_subpackage(name, max_pin="x") }}

requirements:
  build:
    - make
    - {{ compiler('c') }}
  host:
    - ncurses
    - zlib
  run:
    - ncurses
    - zlib

test:
  commands:
    - "samtools view --help 2>&1 | grep Notes"

about:
  home: https://github.com/samtools/samtools
  license: MIT
  summary: Tools for dealing with SAM and BAM files

extra:
  additional-platforms:
    - linux-aarch64
    - osx-arm64
  identifiers:
    - biotools:samtools
