{% set version = "1.3" %}

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

build:
  number: 8

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

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
