{% set version = "1.5.6" %}

package:
  name: parsnp
  version: '{{version}}'

source:
  url: "https://github.com/marbl/parsnp/archive/v{{version}}.tar.gz"  
  sha256: b3ab7f5587865a585dc1ec5d8b2d5e4a24c071b3e477aace15cdef189db31fd7

build:
  # Can't find -lomp
  skip: True  # [osx]
  number: 1

requirements:
  build:
    - {{ compiler('cxx') }}
    - automake ==1.15
    - autoconf
    - libtool
    - make
    - openmp
    - llvm-openmp # [osx]
  host:
    - zlib
    - llvm-openmp  # [osx]
    - openmp
  run:
    - python >=3.6
    - llvm-openmp  # [osx]
    - openmp
    - harvesttools
    - fasttree
    - phipack
    - numpy
    - zlib
    - phipack
    - raxml
    - fasttree
    - fastani
    - mash
    - harvesttools

about:
  home: https://github.com/marbl/parsnp
  license: "custom; see https://raw.githubusercontent.com/marbl/parsnp/master/LICENSE"
  summary: Parsnp is a command-line-tool for efficient microbial core genome alignment and SNP detection.

extra:
  skip-lints:
    - should_be_noarch_generic
    - should_not_be_noarch_source
