U.S. court sentences man to 7-years in prison for dealings with Hamas