{% set version = "2.11.1" %}
{% set sha256 = "f39c56bbfdb0bdacdd5e86b5d3b65c448df17e419f3f533b1a0168e99f532553" %}

package:
  name: ncbi-ngs-sdk
  version: {{ version }}

build:
  number: 0

source:
  url: https://github.com/ncbi/ngs/archive/{{ version }}.tar.gz
  sha256: {{ sha256 }}
  patches:
    - patch

requirements:
  build:
    - make
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - perl
    - libiconv
    - libxml2

test:
  commands:
    - test -e ${PREFIX}/lib64/libngs-sdk.so # [not osx]
    - test -e ${PREFIX}/lib64/libngs-sdk.dylib # [osx]

about:
  home: https://github.com/ncbi/ngs
  license: Public Domain
  summary: NGS is a new, domain-specific API for accessing reads, alignments and pileups produced from Next Generation Sequencing.
