vcpkg_from_github(
    OUT_SOURCE_PATH SOURCE_PATH
    REPO winsiderss/phnt
    REF 48759c9b5916a359df706789f71053e49b528a18
    SHA512 1e0735cc3be3a2679a82f715159d68d9e4b2c52fa754e6166003163ed61ec3faafc8281129d95edf5c035f1e3f4c0a003f66d72a22108f778bf1f187df2bb459
    HEAD_REF master
)

file(GLOB HEADER_FILES ${SOURCE_PATH}/*.h)
file(INSTALL ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include)

configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
