{% set version = "0.7.3a" %}
{% set sha256 = "5093e39b83f64b9bb348a86d4fd129abc4797c5b4472bc110e16fc67ab920e56" %}

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

build:
  number: 9 

source:
  url: http://downloads.sourceforge.net/project/bio-bwa/bwa-{{ version }}.tar.bz2
  sha256: {{ sha256 }}
  patches:
    - Makefile.patch 

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

test:
  commands:
    - bwa 2>&1 | grep "index sequences in the"

about:
  home: http://bio-bwa.sourceforge.net
  license: MIT
  summary: The BWA read mapper.

extra:
  identifiers:
    - biotools:bwa
