{% set version = "1.3.1" %}

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

build:
  number: 10

source:
  url: https://github.com/samtools/samtools/releases/download/{{ version }}/samtools-{{ version }}.tar.bz2
  sha256: 6c3d74355e9cf2d9b2e1460273285d154107659efa36a155704b1e4358b7d67e

requirements:
  build:
    - make
    - {{ compiler('c') }}
  host:
    - curl
    - openssl  # [not osx]
    - zlib
  run:
    - curl
    - openssl  # [not osx]
    - zlib

test:
  commands:
    - samtools --help

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