register ncuses foreign package