Citrix Systems Inc. said Wednesday it is buying privately held XenSource Inc. in a $500 million cash-and-stock deal.

The transaction includes the assumption of about $107 million in unvested stock options.